package com.factorymethod;

public class SimpleVehicleFactory {
    public Car createCar(){
        System.out.println("factory create car");
        return new Car();
    }

    public Plane createPlane(){
        System.out.println("factory create plane");
        return new Plane();
    }
}
